package thread;

import javax.swing.*;
import java.awt.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;

public class Demo extends JFrame implements ActionListener {
    private JTextField tf1,tf2;//实现一个文本框用来接受用户输入的单行文本信息
    private JProgressBar pb;//进度条
    private JButton bt1,bt2,cp;//按钮
    private File srcFile=null;
    private  String desPath=null;
    //setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
//设置用户在此窗体上发起 close 时默认执行的操作

    public Demo()  {
        setTitle("文件复制");
        setSize(600,300);
        setVisible(true);//把图形界面设置为可见

    }

    @Override
    public void actionPerformed(ActionEvent e) {

    }
}
